package c.m.d.b.service.impl;

import c.m.d.b.beans.EntityInstance;
import c.m.d.b.beans.PropertyValue;
import c.m.d.b.service.EntityInstanceService;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.stereotype.Service;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Set;

@Service(value = "entityInstanceService")
public final class EntityInstanceServiceImpl implements EntityInstanceService
{
    @Override
    public String createEntityInstance(@NotNull EntityInstance entityInstance)
    {
        throw new UnsupportedOperationException();
    }

    @Override
    public void updateEntityInstance(@NotNull EntityInstance entityInstance)
    {
        throw new UnsupportedOperationException();
    }

    @Override
    public void deleteEntityInstance(@NotEmpty String entityInstanceId)
    {
        throw new UnsupportedOperationException();
    }

    @Override
    public EntityInstance getEntityInstance(@NotEmpty String entityType, @NotEmpty String entityInstanceId)
    {
        throw new UnsupportedOperationException();
    }

    @Override
    public List<EntityInstance> getEntityInstances(@NotEmpty String entityType)
    {
        throw new UnsupportedOperationException();
    }

    @Override
    public void updateEntityInstanceProperties(@NotEmpty String entityTypeName, @NotEmpty String entityInstanceId,
            @NotEmpty Set<PropertyValue> propertyInstances)
    {
        throw new UnsupportedOperationException();
    }

    @Override
    public void deleteEntityInstanceProperties(@NotEmpty String entityTypeName, @NotEmpty String entityInstanceId,
            @NotEmpty Set<String> propertyNames)
    {
        throw new UnsupportedOperationException();
    }
}
